Manager: File Manager
While Carbon will support most of the File Manager interface, there are a number of significant changes.
You should not access File Manager structures directly if accessor functions for the structure exist. For example, you should call PBGetFCBInfo rather than calling LMGetFCBSPtr and walking the FCB table.
Similarly, you should create file system specification (FSSpec) records using the functions PBMakeFSSpec or FSMakeFSSpec instead of filling in your own structures. File system specification records must contain a volume reference number, a parent directory, and a name. Substituting a working directory for the volume reference number or a full or partial pathname for the name is not supported.
File Manager functions that support MFS (the Macintosh file system) will not be supported in Carbon. These include
* functions, such as OpenWD and GetWDInfo, that manipulate working directories
* functions that identify a file or folder using a volume reference number and pathname but not a parent directory ID. You should use the HFS version of these calls (which use a parent directory ID) instead.
Functions that cannot be called by PowerPC applications (such as PBGetAltAccessSync and PBGetAltAccessAsync) will not be supported.
You should use only documented File Manager interfaces in your application. For example, you should use a documented API call to get low memory information rather than access undocumented low memory global variables or vectors directly.
The default volume format for Carbon will be the Mac OS Extended format; in most cases you will not need to modify your application to gain this volume support.
Carbon does not support many of the File System Manager (FSM) functions defined in the header file FSM.h. FSM plug-ins today often must make assumptions about File Manager data structures that may not be valid in Carbon. In addition, some plug-ins use 68K calling conventions when calling internal File Manager functions. Since the File System Manager was designed for a single-threaded file system, it cannot use the full threading capabilities of Mac OS X.
Allocate
AllocContig
CallDICIProc
CallFSDCommProc
CallHFSCIProc
CallIOCompletionProc
CallLg2PhysProc
CatMove
CloseWD
Working directories not supported. Use file system specification (FSSpec) records instead.
Create
create
Use FSpCreate instead.
DICIProcPtr
DirCreate
DisposeDICIUPP
DisposeFSDCommUPP
DisposeHFSCIUPP
DisposeIOCompletionUPP
DisposeLg2PhysUPP
Eject
eject
Use Eject instead.
FInitQueue
FlushVol
flushvol
Use FlushVol instead.
FSClose
FSDCommProcPtr
FSDelete
Use FSpDelete instead.
fsdelete
Use FSpDelete instead.
FSMakeFSSpec
FSOpen
Use FSpOpenDF (for a data fork) or FSpOpenRF (for a resource fork) instead.
fsopen
Use FSpOpenDF (for a data fork) or FSpOpenRF (for a resource fork) instead.
FSpCatMove
FSpCreate
FSpDelete
FSpDirCreate
FSpExchangeFiles
FSpGetFInfo
FSpOpenDF
FSpOpenRF
FSpRename
FSpRstFLock
FSpSetFInfo
FSpSetFLock
FSRead
fsrename
Use FSpRename instead.
FSWrite
GetEOF
GetFInfo
Use FSpGetFInfo instead.
getfinfo
Use FSpGetFInfo instead.
GetFPos
GetFSInfo
GetFSQHdr
Not supported in Carbon. Applications should not be using this function anyway.
GetVCBQHdr
GetVInfo
getvinfo
GetVol
Carbon applications should use HGetVol and HSetVol to get and set the default directory. GetVol and SetVol are no longer supported and working directories are not supported.
getvol
Working directories are not supported.
GetVRefNum
GetWDInfo
Working directories not supported. Use file system specification (FSSpec) records instead.
HCreate
HDelete
HFSCIProcPtr
HGetFInfo
HGetVol
Carbon applications should use HGetVol and HSetVol to get and set the default directory. GetVol and SetVol are no longer supported and working directories are not supported.
HOpen
HOpenDF
HOpenRF
HRename
HRstFLock
HSetFInfo
HSetFLock
HSetVol
Carbon applications should use HGetVol and HSetVol to get and set the default directory. GetVol and SetVol are no longer supported and working directories are not supported.
InformFFS
FSM functions used to extend the system are not supported in Carbon.
InformFSM
FSM functions used to extend the system are not supported in Carbon.
InstallFS
FSM functions used to extend the system are not supported in Carbon.
InvokeDICIUPP
InvokeFSDCommUPP
InvokeHFSCIUPP
InvokeIOCompletionUPP
InvokeLg2PhysUPP
IOCompletionProcPtr
Lg2PhysProcPtr
NewDICIProc
NewDICIUPP
NewFSDCommProc
NewFSDCommUPP
NewHFSCIProc
NewHFSCIUPP
NewIOCompletionProc
NewIOCompletionUPP
NewLg2PhysProc
NewLg2PhysUPP
OpenDF
Use FSpOpenDF instead.
OpenRF
Use FSpOpenRF instead.
openrf
Use FSpOpenRF instead.
OpenWD
Working directories not supported. Use file system specification (FSSpec) records instead.
PBAllocateAsync
PBAllocateSync
PBAllocContigAsync
PBAllocContigSync
PBCatMoveAsync
PBCatMoveSync
PBCatSearchAsync
PBCatSearchSync
PBCloseWDAsync
Working directories not supported. Use file system specification (FSSpec) records instead.
PBCloseWDSync
Working directories not supported. Use file system specification (FSSpec) records instead.
PBCreateAsync
Obsolete. Use PBHCreateAsync instead.
PBCreateFileIDRefAsync
PBCreateFileIDRefSync
PBCreateSync
Obsolete. Use PBHCreateSync instead.
PBDeleteAsync
Obsolete. Use PBHDeleteAsync instead.
PBDeleteFileIDRefAsync
PBDeleteFileIDRefSync
PBDeleteSync
Obsolete. Use PBHDeleteSync instead.
PBDirCreateAsync
PBDirCreateSync
PBDTAddAPPLAsync
PBDTAddAPPLSync
PBDTAddIconAsync
PBDTAddIconSync
PBDTCloseDown
PBDTDeleteAsync
PBDTDeleteSync
PBDTFlushAsync
PBDTFlushSync
PBDTGetAPPLAsync
PBDTGetAPPLSync
PBDTGetCommentAsync
PBDTGetCommentSync
PBDTGetIconAsync
PBDTGetIconInfoAsync
PBDTGetIconInfoSync
PBDTGetIconSync
PBDTGetInfoAsync
PBDTGetInfoSync
PBDTGetPath
PBDTOpenInform
PBDTRemoveAPPLAsync
PBDTRemoveAPPLSync
PBDTRemoveCommentAsync
PBDTRemoveCommentSync
PBDTResetAsync
PBDTResetSync
PBDTSetCommentAsync
PBDTSetCommentSync
PBEject
PBExchangeFilesAsync
PBExchangeFilesSync
PBFlushFileAsync
PBFlushFileSync
PBFlushVolAsync
PBFlushVolSync
PBGetAltAccessAsync
68K-specific.
PBGetAltAccessSync
68K-specific.
PBGetCatInfoAsync
PBGetCatInfoSync
PBGetEOFAsync
PBGetEOFSync
PBGetFCBInfoAsync
PBGetFCBInfoSync
PBGetFInfoAsync
Obsolete. Use PBHGetFInfoAsync instead.
PBGetFInfoSync
Obsolete. Use PBHGetFInfoSync instead.
PBGetForeignPrivsAsync
PBGetForeignPrivsSync
PBGetFPosAsync
PBGetFPosSync
PBGetUGEntryAsync
PBGetUGEntrySync
PBGetVInfoAsync
Obsolete. Use PBHGetVInfoAsync instead.
PBGetVInfoSync
Obsolete. Use PBHGetVInfoSync instead.
PBGetVolAsync
Obsolete. Use PBHGetVolAsync instead.
PBGetVolMountInfo
PBGetVolMountInfoSize
PBGetVolSync
Obsolete. Use PBHGetVolSync instead.
PBGetWDInfoAsync
Working directories not supported. Use file system specification (FSSpec) records instead.
PBGetWDInfoSync
Working directories not supported. Use file system specification (FSSpec) records instead.
PBGetXCatInfoAsync
PBGetXCatInfoSync
PBHCopyFileAsync
PBHCopyFileSync
PBHCreateAsync
PBHCreateSync
PBHDeleteAsync
PBHDeleteSync
PBHGetDirAccessAsync
PBHGetDirAccessSync
PBHGetFInfoAsync
PBHGetFInfoSync
PBHGetLogInInfoAsync
PBHGetLogInInfoSync
PBHGetVInfoAsync
PBHGetVInfoSync
PBHGetVolAsync
PBHGetVolParmsAsync
PBHGetVolParmsSync
PBHGetVolSync
PBHMapIDAsync
PBHMapIDSync
PBHMapNameAsync
PBHMapNameSync
PBHMoveRenameAsync
PBHMoveRenameSync
PBHOpenAsync
PBHOpenDenyAsync
PBHOpenDenySync
PBHOpenDFAsync
PBHOpenDFSync
PBHOpenRFAsync
PBHOpenRFDenyAsync
PBHOpenRFDenySync
PBHOpenRFSync
PBHOpenSync
PBHRenameAsync
PBHRenameSync
PBHRstFLockAsync
PBHRstFLockSync
PBHSetDirAccessAsync
PBHSetDirAccessSync
PBHSetFInfoAsync
PBHSetFInfoSync
PBHSetFLockAsync
PBHSetFLockSync
PBHSetVolAsync
PBHSetVolSync
PBHTrashVolumeCachesSync
PBLockRangeAsync
PBLockRangeSync
PBMakeFSSpecAsync
PBMakeFSSpecSync
PBMountVol
PBOffLine
PBOpenDFAsync
Obsolete. Use PBHOpenDFAsync instead.
PBOpenDFSync
Obsolete. Use PBHOpenDFSync instead.
PBOpenRFAsync
Obsolete. Use PBHOpenRFAsync instead.
PBOpenRFSync
Obsolete. Use PBHOpenRFSync instead.
PBOpenWDAsync
Working directories not supported. Use file system specification (FSSpec) records instead.
PBOpenWDSync
Working directories not supported. Use file system specification (FSSpec) records instead.
PBRenameAsync
Obsolete. Use PBHRenameAsync instead.
PBRenameSync
Obsolete. Use PBHRenameSync instead.
PBResolveFileIDRefAsync
PBResolveFileIDRefSync
PBRstFLockAsync
Obsolete. Use PBHRstFLock Async instead.
PBRstFLockSync
Obsolete. Use PBHRstFlockSync instead.
PBSetAltAccessAsync
68K-specific.
PBSetAltAccessSync
68K-specific.
PBSetCatInfoAsync
PBSetCatInfoSync
PBSetEOFAsync
PBSetEOFSync
PBSetFInfoAsync
Obsolete. Use PBHSetFInfoAsync instead.
PBSetFInfoSync
Obsolete. Use PBHSetFInfoSync instead.
PBSetFLockAsync
Obsolete. Use PBHSetFLockAsync instead.
PBSetFLockSync
Obsolete. Use PBHSetFLockSync instead.
PBSetForeignPrivsAsync
PBSetForeignPrivsSync
PBSetFPosAsync
PBSetFPosSync
PBSetFVersAsync
Obsolete. Use PBHSetFVersAsync instead.
PBSetFVersSync
Obsolete. Use PBHSetFVersSync instead.
PBSetVInfoAsync
PBSetVInfoSync
PBSetVolAsync
Obsolete. Use PBHSetVolAsync instead.
PBSetVolSync
Obsolete. Use PBHSetVolSync instead.
PBShareAsync
PBShareSync
PBUnlockRangeAsync
PBUnlockRangeSync
PBUnmountVol
PBUnmountVolImmed
PBUnshareAsync
PBUnshareSync
PBVolumeMount
PBXGetVolInfoAsync
PBXGetVolInfoSync
RemoveFS
FSM functions used to extend the system are not supported in Carbon.
rename
Rename
Use FSpRename instead.
rstflock
Use FSpRstFLock instead.
RstFLock
Use FSpRstFLock instead.
SetEOF
SetFInfo
Use FSpSetFInfo instead.
setfinfo
Use FSpSetFInfo instead.
SetFLock
Use FSpSetFLock instead.
setflock
Use FSpSetFLock instead.
SetFPos
SetFSInfo
SetVol
Carbon applications should use HGetVol and HSetVol to get and set the default directory. GetVol and SetVol are no longer supported and working directories are not supported.
setvol
Working directories are not supported.
UnmountVol
unmountvol
Use UnmountVol instead.
UTAddNewVCB
FSM functions used to extend the system are not supported in Carbon.
UTAdjustEOF
FSM functions used to extend the system are not supported in Carbon.
UTAllocateFCB
FSM functions used to extend the system are not supported in Carbon.
UTAllocateVCB
FSM functions used to extend the system are not supported in Carbon.
UTAllocateWDCB
FSM functions used to extend the system are not supported in Carbon.
UTBlockInFQHashP
FSM functions used to extend the system are not supported in Carbon.
UTCacheReadIP
FSM functions used to extend the system are not supported in Carbon.
UTCacheWriteIP
FSM functions used to extend the system are not supported in Carbon.
UTCheckDirBusy
FSM functions used to extend the system are not supported in Carbon.
UTCheckFileModifiable
FSM functions used to extend the system are not supported in Carbon.
UTCheckFileRefNum
FSM functions used to extend the system are not supported in Carbon.
UTCheckPermission
FSM functions used to extend the system are not supported in Carbon.
UTCheckVolModifiable
FSM functions used to extend the system are not supported in Carbon.
UTCheckVolOffline
FSM functions used to extend the system are not supported in Carbon.
UTCheckVolRefNum
FSM functions used to extend the system are not supported in Carbon.
UTCheckWDRefNum
FSM functions used to extend the system are not supported in Carbon.
UTDetermineVol
FSM functions used to extend the system are not supported in Carbon.
UTDisposeVCB
FSM functions used to extend the system are not supported in Carbon.
UTEjectVol
FSM functions used to extend the system are not supported in Carbon.
UTFindDrive
FSM functions used to extend the system are not supported in Carbon.
UTFlushCache
FSM functions used to extend the system are not supported in Carbon.
UTGetBlock
FSM functions used to extend the system are not supported in Carbon.
UTGetDefaultVol
FSM functions used to extend the system are not supported in Carbon.
UTGetPathComponentName
FSM functions used to extend the system are not supported in Carbon.
UTIndexFCB
FSM functions used to extend the system are not supported in Carbon.
UTLocateFCB
FSM functions used to extend the system are not supported in Carbon.
UTLocateNextFCB
FSM functions used to extend the system are not supported in Carbon.
UTLocateNextVCB
FSM functions used to extend the system are not supported in Carbon.
UTLocateVCBByName
FSM functions used to extend the system are not supported in Carbon.
UTLocateVCBByRefNum
FSM functions used to extend the system are not supported in Carbon.
UTMarkDirty
FSM functions used to extend the system are not supported in Carbon.
UTParsePathname
FSM functions used to extend the system are not supported in Carbon.
UTReleaseBlock
FSM functions used to extend the system are not supported in Carbon.
UTReleaseFCB
FSM functions used to extend the system are not supported in Carbon.
UTReleaseWDCB
FSM functions used to extend the system are not supported in Carbon.
UTResolveFCB
FSM functions used to extend the system are not supported in Carbon.
UTResolveWDCB
FSM functions used to extend the system are not supported in Carbon.
UTSetDefaultVol
FSM functions used to extend the system are not supported in Carbon.
UTTrashBlocks
FSM functions used to extend the system are not supported in Carbon.
UTTrashFileBlocks
FSM functions used to extend the system are not supported in Carbon.
UTTrashVolBlocks
FSM functions used to extend the system are not supported in Carbon.
UTVolCacheReadIP
FSM functions used to extend the system are not supported in Carbon.
UTVolCacheWriteIP
FSM functions used to extend the system are not supported in Carbon.
[Table of Contents] [Manager Index] [Function Index]
Generated on: 7/7/99. Copyright 1999 Apple Computer, Inc. All rights reserved.